package com.easyim.rest.service;

import com.easyim.rest.entity.User;
import org.springframework.data.domain.Page;

public interface IUserRelationService {

    Boolean addFriend(Long user, Long friend);

    Boolean addFollowing(Long user, Long follows);

    Page<User> getMyFollows(Long user, Integer page, Integer size);

    Page<User> whoFollowMe(Long user, Integer page, Integer size);
}
